<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>登陆页面</title>
	<link rel="stylesheet" href="/home/bootstrap/dist/css/bootstrap-theme.min.css">
	<link rel="stylesheet" href="/home/bootstrap/dist/css/bootstrap.css">
	<link rel="stylesheet" href="/home/bootstrap/dist/js/bootstrap-theme.min.js">
	<link rel="stylesheet" href="/home/bootstrap/dist/js/bootstrap.js">
	<style>
		.center{
			width:600px;
			margin:100px auto;
		}
		.form-control{
			width:300px;
		}
		.btn-default{
			margin-right:30px;
		}
		.title{
			margin-left:150px;
			
		}
		.errors{
			color:red;
		}
	</style>
</head>
<body>
	<div class="center">
		<h1 class="title">用户登录</h1><br>
		<form class="form-horizontal" action="/login" method="post">
			<div class="form-group">
		        <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
		        <div class="col-sm-10">
		            <input type="text" class="form-control" id="inputEmail3" name="username" placeholder="请输入用户名">
					<span class="errors">{{Session::get('info')}}</span>
		        </div>
		    </div>
		    <div class="form-group">
		        <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
		        <div class="col-sm-10">
		            <input type="password" class="form-control" id="inputPassword3" name="password" placeholder="请输入密码">
		            <span class="errors">{{Session::get('infos')}}</span>
		            {{csrf_field()}}
		        </div>
		    </div>
		    
		    <div class="form-group">
		        <div class="col-sm-offset-2 col-sm-10">
		            <div class="checkbox">
		                <label>
		                    <input type="checkbox">记住我</label>
		            </div>
		        </div>
		    </div>
		    <div class="form-group">
		        <div class="col-sm-offset-2 col-sm-5">
		            <button type="submit" class="btn btn-default">立即登陆</button>
		            <a class="btn btn-default" href="register">前往注册</a>
		        </div>
		    </div>
		</form>
	</div>
</body>
</html>